package com.itheima.chapter02.object;
//构造方法
public class Studenttest_01 {
    public static void main(String[] args) {
        System.out.println("无参");
        Student_01 s=new Student_01();
        s.setName("李梅");
        s.setAge(25);
        s.show();
        System.out.println("-------------");
        System.out.println("有参");
        Student_01 t =new Student_01(36,"刘华");
        t.show();
    }
}
